from django.db import models


class UserInfo(models.Model):
    username = models.CharField(max_length=10)
    password = models.CharField(max_length=10)


class DevInfo(models.Model):
    type_name = models.CharField(max_length=10)
    type_name_en = models.CharField(max_length=10)
    dev_name = models.CharField(max_length=10)
    auto_times = models.CharField(max_length=500, null=True)
    other_set = models.CharField(default='', max_length=100)
    status = models.CharField(default='close', max_length=40)


class SystemSitting(models.Model):
    type_name = models.CharField(max_length=10)
    status = models.BooleanField(default=True, null=True)
